<template>
  <fieldset>
    <legend>Bro</legend>
    <h1>Bro</h1>
    <button @click="handleClick">点击传参给Child</button>
  </fieldset>
</template>
<script>
export default {
  data() {
    return {
      gift: "鸡翅",
    };
  },
  methods: {
    handleClick() {
      this.$bus.$emit("receive", this.gift);
    },
  },
};
</script>
